package weixintest;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/4/12 11:23
 */
public class OverloadTest {
    private static void varArray(int... array) {
        System.out.println("ints");
    }

    private static void varArray(String... array) {
        System.out.println("objects");
    }

    public static void main(String[] args) {
        varArray(1, 2, 3);
    }
}
